Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bugs of item collector and block tag recipe 修复与物品收集器和方块标签配方相关的若干问题 #1385

Merged
merged 7 commits into from
Dec 25, 2024

Conversation

YocyCraft
Copy link
Contributor

@YocyCraft YocyCraft commented Dec 20, 2024

  • 为物品收集器的tickGrid方法增加了电网工作状态检查。
  • 增加了IPowerComponent#isGridWorking方法,用于电网元件的网络状态检测。
  • 修复了物品收集器gui不渲染tooltip的问题。
  • 过滤槽中物品数量为0时,被渲染的物品现在具有透明度了。
    • 实现方式同珠宝加工台。
  • 修复了以方块标签作为输入的方块压合配方,无法显示方块的问题。
    • 增加了BlockTagDisplayHelper#getDisplay方法,用于简化方块标签的显示。
  • 修复了方块压合配方由于标签输入的存在,无法显示tooltip的问题。
    • 增加了BlockTagDisplayHelper#getTooltipsForInput方法,用于简化方块标签输入的tooltip获取。
  • 将文档注释中所有的”物品堆栈“修正为”物品堆叠“。 (ItemStack中的Stack跟堆栈没关系)

@YocyCraft YocyCraft changed the title Fix bugs of power grid and block tag recipe 修复与电网和方块标签配方相关的若干问题 Fix bugs of item collector and block tag recipe 修复与物品收集器和方块标签配方相关的若干问题 Dec 20, 2024
@Gu-ZT Gu-ZT merged commit e8dcdba into Anvil-Dev:releases/1.21 Dec 25, 2024
1 check passed
@YocyCraft YocyCraft deleted the dev/misc_fixes branch December 25, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants